.class public Lcom/esfile/screen/recorder/utils/m;
.super Ljava/lang/Object;
.source "LanguageUtils.java"


# static fields
.field public static final a:[[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 8

    const/16 v0, 0x1d

    new-array v0, v0, [[Ljava/lang/String;

    const/4 v1, 0x3

    new-array v2, v1, [Ljava/lang/String;

    const-string v3, "Az\u0259rbaycan"

    const/4 v4, 0x0

    aput-object v3, v2, v4

    const-string v3, "az"

    const/4 v5, 0x1

    aput-object v3, v2, v5

    const-string v3, ""

    const/4 v6, 0x2

    aput-object v3, v2, v6

    aput-object v2, v0, v4

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Bahasa Indonesia"

    aput-object v7, v2, v4

    const-string v7, "in"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    aput-object v2, v0, v5

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Bahasa Melayu"

    aput-object v7, v2, v4

    const-string v7, "ms"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    aput-object v2, v0, v6

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u010de\u0161tina"

    aput-object v7, v2, v4

    const-string v7, "cs"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    aput-object v2, v0, v1

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Deutsch"

    aput-object v7, v2, v4

    const-string v7, "de"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/4 v7, 0x4

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "English"

    aput-object v7, v2, v4

    const-string v7, "en"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/4 v7, 0x5

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Espa\u00f1ol"

    aput-object v7, v2, v4

    const-string v7, "es"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/4 v7, 0x6

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Filipino"

    aput-object v7, v2, v4

    const-string v7, "fil"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/4 v7, 0x7

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Fran\u00e7ais"

    aput-object v7, v2, v4

    const-string v7, "fr"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x8

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Italiano"

    aput-object v7, v2, v4

    const-string v7, "it"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x9

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Magyar"

    aput-object v7, v2, v4

    const-string v7, "hu"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0xa

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Nederlands"

    aput-object v7, v2, v4

    const-string v7, "nl"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0xb

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Polski"

    aput-object v7, v2, v4

    const-string v7, "pl"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0xc

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Portugu\u00eas"

    aput-object v7, v2, v4

    const-string v7, "pt"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0xd

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Rom\u00e2n\u0103"

    aput-object v7, v2, v4

    const-string v7, "ro"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0xe

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "Ti\u1ebfng Vi\u1ec7t"

    aput-object v7, v2, v4

    const-string v7, "vi"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0xf

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "T\u00fcrk\u00e7e"

    aput-object v7, v2, v4

    const-string v7, "tr"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x10

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"

    aput-object v7, v2, v4

    const-string v7, "el"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x11

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0440\u0443\u0301\u0441\u0441\u043a\u0438\u0439"

    aput-object v7, v2, v4

    const-string v7, "ru"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x12

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"

    aput-object v7, v2, v4

    const-string v7, "uk"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x13

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0641\u0627\u0631\u0633\u06cc"

    aput-object v7, v2, v4

    const-string v7, "fa"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x14

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0939\u093f\u0928\u094d\u0926\u0940"

    aput-object v7, v2, v4

    const-string v7, "hi"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x15

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22"

    aput-object v7, v2, v4

    const-string v7, "th"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x16

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u09ac\u09be\u0982\u09b2\u09be"

    aput-object v7, v2, v4

    const-string v7, "bn"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x17

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u0627\u0644\u0639\u0631\u0628\u064a\u0629"

    aput-object v7, v2, v4

    const-string v7, "ar"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x18

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\ud55c\uad6d\uc5b4"

    aput-object v7, v2, v4

    const-string v7, "ko"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v7, 0x19

    aput-object v2, v0, v7

    new-array v2, v1, [Ljava/lang/String;

    const-string v7, "\u65e5\u672c\u8a9e"

    aput-object v7, v2, v4

    const-string v7, "ja"

    aput-object v7, v2, v5

    aput-object v3, v2, v6

    const/16 v3, 0x1a

    aput-object v2, v0, v3

    new-array v2, v1, [Ljava/lang/String;

    const-string v3, "\u7b80\u4f53\u4e2d\u6587"

    aput-object v3, v2, v4

    const-string v3, "zh"

    aput-object v3, v2, v5

    const-string v7, "cn"

    aput-object v7, v2, v6

    const/16 v7, 0x1b

    aput-object v2, v0, v7

    new-array v1, v1, [Ljava/lang/String;

    const-string v2, "\u7e41\u9ad4\u4e2d\u6587"

    aput-object v2, v1, v4

    aput-object v3, v1, v5

    const-string v2, "tw"

    aput-object v2, v1, v6

    const/16 v2, 0x1c

    aput-object v1, v0, v2

    .line 1
    sput-object v0, Lcom/esfile/screen/recorder/utils/m;->a:[[Ljava/lang/String;

    return-void
.end method

.method public static a()Ljava/lang/String;
    .locals 2

    .line 1
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Les/z4;->durec_current_language:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-static {v0}, Lcom/esfile/screen/recorder/utils/m;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 7

    .line 3
    sget-object v0, Lcom/esfile/screen/recorder/utils/m;->a:[[Ljava/lang/String;

    array-length v1, v0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v1, :cond_1

    aget-object v4, v0, v3

    .line 4
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v6, 0x1

    aget-object v6, v4, v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v6, 0x2

    aget-object v6, v4, v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5, p0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 5
    aget-object p0, v4, v2

    return-object p0

    :cond_0
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    const-string p0, "English"

    return-object p0
.end method

.method public static b()Ljava/util/Locale;
    .locals 2

    .line 1
    invoke-static {}, Landroid/content/res/Resources;->getSystem()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    invoke-static {v0}, Landroidx/core/os/ConfigurationCompat;->getLocales(Landroid/content/res/Configuration;)Landroidx/core/os/LocaleListCompat;

    move-result-object v0

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Landroidx/core/os/LocaleListCompat;->get(I)Ljava/util/Locale;

    move-result-object v0

    return-object v0
.end method
